package com.m1.tzolkin.model.util.player;

public class Player implements IPlayer {
	
	// ATTRIBUTS
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4361074673896706608L;
	private final String name;
	
	// CONSTRUCTEUR
	
	public Player(String s) {
		if (s == null || s.trim().equals("")) {
			throw new IllegalArgumentException();
		}
		name = new String(s);
	}
	
	// REQUETES

	@Override
	public String getName() {
		return name;
	}

}
